/*
* <p>Copyright： 东软烟草产品研发团队</p>
*/
package com.jkl.dao.role;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jkl.entity.role.BsRole;

import tk.mybatis.mapper.common.Mapper;
import tk.mybatis.mapper.common.special.InsertListMapper;

/**
 * <p>
 * Dao
 * <p>
 * <p>
 * 变更说明：@author lin.pf 2018-10-01Dao
 * <p>
 * Date:2018-10-01
 * 
 * @author lin.pf
 * @version 1.0
 */
public interface BsRoleMapper extends Mapper<BsRole>, InsertListMapper<BsRole> {
	List<BsRole> findRoleByParam(BsRole params);

	void deleteRoleMenuByRoleId(@Param("roleId") Integer roleId);

	int getRoleMenuLastId();

	void addRoleMenuBYRoleId(@Param("rowId") int rowId, @Param("roleId") int roleId, @Param("menuId") Integer menuId);
}
